package sctu.edu.java.year2016.team06.chenqiang.day20160522.chapter5_1;

/**
 * Created by XQ on 2016/5/22.
 * 编写java程序，创建一维数组arr[],并将其遍历出来。
 */
public class Chapter5_1 {
    public static void main(String[] args) {
        int arr[] = {1, 3, 5, 8, 6};
        System.out.println("一维数组的元素有：");
        for (int i = 0; i < arr.length; i++) {
            System.out.print(+arr[i] + "\t");
        }
    }
}